package com.emily.test;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(exclude = {
		DataSourceAutoConfiguration.class
})
@MapperScan("com.emily.test.mapper")
@EnableScheduling
@EnableAsync
@EnableTransactionManagement
@ComponentScan(value = {"com"})
public class EmilyDemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(EmilyDemoApplication.class, args);
	}

}
